import { request } from "../request";

export const activityApi = {
  // 获取活跃度
  getLiveness: () => {
    return request("/user/liveness", "GET");
  },

  // 获取签到状态
  getSignInStatus: () => {
    return request("/user/checkedIn", "GET");
  },

  // 领取昨日活跃奖励
  collectYesterdayReward: () => {
    return request("/activity/yesterday-liveness-reward-api");
  },

  // 查询昨日奖励领取状态
  checkRewardStatus: () => {
    return request("/api/activity/is-collected-liveness");
  },
};
